package com.wsm.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wsm.common.domain.CloseDO;

import java.util.List;
import java.util.Map;

/**
 * 开关表
 *
 * @author wangshimin
 * @email wangshiminhome@foxmail.com
 * @date 2020-02-08 12:27:30
 */
public interface CloseDao extends BaseMapper<CloseDO> {

	CloseDO get(Long id);

	List<CloseDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(CloseDO close);

	int orUpdate(CloseDO close);

	int remove(Long id);

	int batchRemove(Long[] ids);
}
